package com.things8.iot.baseIot.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author  yzh
 * @date  2021/5/2 21:24
 * @version 1.0
 */
@ApiModel(value="com-things8-iot-example-demo-entity-SysDevicemodel")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysDevicemodel implements Serializable {
    @ApiModelProperty(value="")
    private Long id;

    @ApiModelProperty(value="")
    private Long sysid;

    @ApiModelProperty(value="")
    private String name;

    /**
    * 品类
    */
    @ApiModelProperty(value="品类")
    private Long categoryid;

    /**
    * 厂商
    */
    @ApiModelProperty(value="厂商")
    private Long vendorid;

    @ApiModelProperty(value="")
    private Long thingsmodelid;

    /**
    * 描述
    */
    @ApiModelProperty(value="描述")
    private String describes;

    @ApiModelProperty(value="")
    private String productkey;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    private Date createdtime;

    /**
    * 节点类型
    */
    @ApiModelProperty(value="节点类型")
    private String nodetype;

    /**
    * 0：未接入网关，1：接入网关
    */
    @ApiModelProperty(value="0：未接入网关，1：接入网关")
    private Integer accessgw;

    /**
    * 接入协议
    */
    @ApiModelProperty(value="接入协议")
    private String accessprotocol;

    /**
    * 数据格式
    */
    @ApiModelProperty(value="数据格式")
    private String dataformat;

    @ApiModelProperty(value="")
    private String icon;

    /**
    * 解析模版json
    */
    @ApiModelProperty(value="解析模版json")
    private String datatemplate;

    @ApiModelProperty(value="")
    private Date modifytime;

    /**
    * 0:未发布，1：已发布
    */
    @ApiModelProperty(value="0:未发布，1：已发布")
    private Integer havepublic;

    @ApiModelProperty(value="")
    private String json;

    @ApiModelProperty(value="")
    private String javaclass;

    /**
    * 云端用户id
    */
    @ApiModelProperty(value="云端用户id")
    private Long userid;

    /**
    * 免费体验次数
    */
    @ApiModelProperty(value="免费体验次数")
    private Long freetimes;

    private static final long serialVersionUID = 1L;
}